package timing.ukulele.third.msgChannel.handle;

import timing.ukulele.third.msgChannel.model.RecallTaskInfo;
import timing.ukulele.third.msgChannel.model.SendTaskInfo;
import timing.ukulele.third.msgChannel.param.HandleMessageBaseResponse;

/**
 * 消息处理器
 * @author zh
 */
public interface Handler {

    /**
     * 发送消息
     *
     * @param sendTaskInfo
     */
    HandleMessageBaseResponse send(SendTaskInfo sendTaskInfo);

    /**
     * 撤回消息
     *
     * @param recallTaskInfo
     * @return
     */
    HandleMessageBaseResponse recall(RecallTaskInfo recallTaskInfo);

}
